package mission;

import java.nio.ByteBuffer;
import org.apache.mina.core.session.IoSession;

import pool.AbstractPoolObject;

/**
 * 客户端的所有请求数据
 * @author gcxk721
 *
 */
public class Mission extends AbstractPoolObject
{
	
	/**
	 * 系统ID
	 */
	public byte serverId;
	
	/**
	 * 消息头
	 */
	public short messageHead;
	
	/**
	 * 数据结构体
	 */
	public ByteBuffer bytes;
	
	/**
	 * session
	 */
	public IoSession session;
	
	public void clean()
	{
		serverId = 0;
		messageHead = 0;
		bytes.clear();
		bytes = null;
	}
	
}
